package com.haiwei.poi.word.poi;

import org.apache.poi.ooxml.util.PackageHelper;
import org.apache.poi.xwpf.usermodel.XWPFComment;
import org.apache.poi.xwpf.usermodel.XWPFDocument;
import org.apache.poi.xwpf.usermodel.XWPFFactory;

import java.io.IOException;
import java.io.InputStream;

/**
 * XWPFDocument加强.
 *
 * @date: 2010-08-25
 * @version: 1.0
 * @author: karry@haiwei.com
 */
public class HaiweiXWPFDocument extends XWPFDocument {
    
    public void addComment(XWPFComment comment){
        super.comments.add(comment);
    }
    
    public HaiweiXWPFDocument(InputStream is) throws IOException {
        super(is);
    }
    
}
